@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import '../assets/fonts/iconfont.css';


body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.page {
  padding: 30px;
  box-sizing: border-box;
}
.l-mg-top10 {
  margin-top: 10px;
}
.card-pagination {
  margin-top: 20px;
}
.el-icon-warning {
  margin-left: 10px;
  font-size: 20px;
  color: #409EFF;
}
// margin 生成4个方向
@each $m in top,left,right,bottom {
	@for $i from 1 through 100 {
		.l-mg-#{$m}#{$i} {margin-#{$m}: 1px * $i;}
	}
}

// flex 布局
.l-f {
	display: flex;
	align-items: center;
}
.l-column {
	flex-direction: column;
}
.l-row-c {
	justify-content: center;
}
.l-row-sb {
	justify-content: space-between;
}
.l-row-ad {
	justify-content: space-around;
}
.l-row-start {
	justify-content: flex-start;
}
.l-row-end {
	justify-content: flex-end;
}
.l-col-c {
	align-items: center;
}
.l-col-start {
	align-items: flex-start;
}
.l-col-end {
	align-items: flex-end;
}
.l-wrap  {
	flex-wrap: wrap;
}